package main

import "fmt"

func main() {
	// 类型不同，无法强转
	//var length float64 = 1.2
	//var width int = 2
	//fmt.Println("Area is", length * width)
	//fmt.Println("length > width?", length > width)

	var length float64 = 1.2
	var width int = 2
	fmt.Println("Area is", length*float64(width))
	fmt.Println("length > width?", length > float64(width))

}
